/**
 * @Author: LongTao
 * @program: day01_longtao_springmvc_1917JA_20210102
 * @description:
 * @create: 2021-01-05 16:40
 * @version:1.0
 **/
package com.longtao.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController2 {
    @RequestMapping("/userAdd.html")
    public String userAdd(Model model){
        model.addAttribute("msg","需要用户添加吗");
        return "a";
    }

    @RequestMapping("/userUpdate.html")
    public String UserUpdate(Model model){
        model.addAttribute("msg","需要修改一个用户吗?");
        return "a";
    }

    @RequestMapping("/userDelete.html")
    public String userDelete(Model model){
        model.addAttribute("msg","需要删除一个用户吗?");
        return "a";
    }
}